package edu.fdzc.system.service;

import com.github.pagehelper.PageInfo;
import edu.fdzc.system.entity.Answer;
import edu.fdzc.system.entity.Score;
import edu.fdzc.system.entity.TestPaper;

import java.util.List;

public interface ScoreService {
    void add(TestPaper testPaper);

    void updateById(Score score);

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    Score selectById(Integer id);

    List<Answer> selectAnswer(Integer id);

    List<Score> selectAll(Score score);

    PageInfo<Score> selectPage(Score score, Integer pageNum, Integer pageSize);
}
